package com.dao;


import java.util.List;
import java.util.Map;

import com.entity.Paper;
import com.entity.Paper_Question;

public interface PaperDao {
	public List<Paper> list(Map map);
	public Paper get(Integer id);
	public int getCount(Map map);
	public int add(Paper q);
	public int edit(Paper q);
	public int delete(Integer id);
	public int addQuestion(List<Paper_Question> pq);
	public int deleteQuestionByPaper(int pid);
}
